// @ts-ignore
/* eslint-disable */
import request from "@/request";

/** 此处后端没有提供注释 POST /api/SignalRTest/send-test-message */
export async function postSignalRTestSendTestMessage(
  body: API.TestMessageRequest,
  options?: { [key: string]: any }
) {
  return request<any>("/api/SignalRTest/send-test-message", {
    method: "POST",
    headers: {
      "Content-Type": "application/json",
    },
    data: body,
    ...(options || {}),
  });
}

/** 此处后端没有提供注释 GET /api/SignalRTest/test-connection */
export async function getSignalRTestTestConnection(options?: {
  [key: string]: any;
}) {
  return request<any>("/api/SignalRTest/test-connection", {
    method: "GET",
    ...(options || {}),
  });
}
